//
//  YKStepBtnView.h
//  MagicBox
//
//  Created by 胡文广 on 16/8/14.
//  Copyright © 2016年 ZiLiFang. All rights reserved.
//

#import <UIKit/UIKit.h>


typedef void(^StepBtnClickedBlock)(NSInteger index);

@interface YKStepBtnView : UIView

@property (nonatomic, assign, readwrite) CGFloat distanceBetween;
/**
 *  外部最好做为readonly的属性来用
 */
@property (nonatomic, assign, readwrite) NSInteger selectedIndex;

+(YKStepBtnView *)stepBtnViewWithCenter:(CGPoint)center;

-(void)loadTitles:(NSArray *)titles withClickedBlock:(StepBtnClickedBlock)block;

-(void)show:(BOOL)show redPointAtIndex:(NSInteger)index;

@end
